Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Chromium versions for api.Response.Response.body_param_null #13076

Merged

Conversation

queengooborg
Copy link
Contributor

@queengooborg queengooborg commented Oct 24, 2021

This PR adds real values for Chromium (Chrome, Opera, Samsung Internet, WebView Android) for the Response.body_param_null member of the Response API, based upon commit history and date.

Commit: https://source.chromium.org/chromium/chromium/src/+/3cef67a6ce8923e59bd08a7e4f04d64f08e89edd (commit was before the Response API was exposed)

Additionally, this PR renames this parameter to body_parameter_optional for better consistency.

This PR adds real values for Chromium (Chrome, Opera, Samsung Internet, WebView Android) for the `Response.body_param_null` member of the `Response` API, based upon commit history and date.

Commit: https://source.chromium.org/chromium/chromium/src/+/3cef67a6ce8923e59bd08a7e4f04d64f08e89edd

Additionally, this PR renames this parameter to `body_parameter_optional` for better consistency.
@github-actions github-actions bot added the data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API label Oct 24, 2021
@@ -194,15 +194,15 @@
}
}
},
"body_param_null": {
"body_parameter_optional": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My knowledge of BCD has obviously gotten out of date. Would you mind sending me an explanation of how this resolves to the key on the MDN page (browser-compat: api.Response.body) when there's no part of the JSON tree named "body"?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't resolve to api.Response.body. This key is talking about the body parameter passed into the Response() constructor!

@jpmedley jpmedley merged commit 470f3e6 into mdn:main Oct 28, 2021
@queengooborg queengooborg deleted the api/Response/Response/body_param_null/chrome branch October 28, 2021 18:31
ddbeck added a commit to ddbeck/browser-compat-data that referenced this pull request Nov 2, 2021
ddbeck added a commit that referenced this pull request Nov 2, 2021
* Bump version to v4.0.9

* Set release date

* Add release note for #12795

* Add release note for #13006

* Add release note for #13136

* Add release note for #13076

* Add release note for #13216

* Add release note for #11924

* Add release note for #13143

* Undo list of one item

* Hoist known issues

* Add stats

* Fix compare link
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants